#pragma once
#include "irrlicht.h"
using namespace irr;

class GraphicEngine
{
public:
	GraphicEngine(unsigned long Handle,s32 Width,s32 Height);
	~GraphicEngine(void);
	void InitEngine(void);
	void draw2DDotLine(const core::position2d<s32>& start, const core::position2d<s32>& end, video::SColor color);
	void draw2dPixel(core::position2di pos,video::SColor color);
	//int width,heigh;
	int fontSize;

	IrrlichtDevice *device;
	video::IVideoDriver *driver;
	gui::IGUIFont *labelFont;
	gui::IGUIFont *numberFont;
	gui::IGUIFont *yLabelFont;	//font to write on screen
private:
	::SIrrlichtCreationParameters params;
	
};

